﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC13Controller
    /// </summary>
    public class VYC13Controller
    {
        private static VYC13BO _vyc13Bo;
        public VYC13Controller()
        {
            //
            _vyc13Bo = new VYC13BO();
        }
        public List<ModelVYC13> GetAllList()
        {
            return _vyc13Bo.GetAllList();
        }
        public int AddData(ModelVYC13 model)
        {
            return _vyc13Bo.AddData(model);
        }
        public int EditData(ModelVYC13 model)
        {
            return _vyc13Bo.EditData(model);
        }
        public int DeleteData(ModelVYC13 model)
        {
            return _vyc13Bo.DeleteData(model);
        }
        public List<ModelVYC13> GetById(int id)
        {
            return _vyc13Bo.GetById(id);
        }
    }
}